<template>
  <mt-swipe :auto="4000">
    <mt-swipe-item v-for="(item, index) in lunbotu" :key="index">
      <img :src="item[img_name]" alt :class="[isfull? 'is-full': 'is-normal']"/>
    </mt-swipe-item>
  </mt-swipe>
</template>

<script>
export default {
  props: ['lunbotu','img_name', 'isfull']
};
</script>

<style lang='scss' scoped>
.mint-swipe {
  height: 180px;
}

.mint-swipe-item  {
  text-align: center;
  .is-full {
  width: 100%;
  height: 100%;
  }
  .is-normal {
    height: 100%;
  }
}
</style>